import request from '@/utils/request'

// 查询录播观看列表
export function queryEmpowerList(query) {
  return request({
    url: '/course/couseTime/queryEmpowerList',
    method: 'get',
    params: query
  })
}
// 新增录播观看
export function addEmpower(data) {
  return request({
    url: '/course/couseTime/addEmpower',
    method: 'post',
    data: data
  })
}


// 删除录播观看
export function deleteEmpower(empowerIds) {
  return request({
    url: 'course/couseTime/deleteEmpower/' + empowerIds,
    method: 'get'
  })
}
